<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="json2.js"></script>
	<script type="text/javascript">
	var json = {
		"name":{"age":12}
	};

	var str = JSON.stringify(json);
	var json3 = JSON.parse(str);

	json3.name.age = 100;
	alert(json.name.age);				//12		json1没有受到json3的影响
	alert(json3.name.age);				//100
	</script>
</head>
<body>
	
</body>
</html>